package joymouse.logger;

/**
 * An error that is logged when an exception is thrown.
 *
 * @author Ben
 */
public class ExceptionError extends Error {

    /**
     * Creates an {@code ExceptionError} using the specified {@link Exception}.
     *
     * @param ex The exception that will be logged.
     */
    public ExceptionError(Exception ex) {
        super(5, "Exception thrown: " + ex.toString());
    }
}
